﻿using movie.tool.library.binding;

namespace movie.tool.module.film.model
{
    public class ClueCardParam : NotifyPropertyChanged
    {
        private string type;
        /// <summary>
        /// 线索类型,pic-图片线索卡;vid-视频线索;aud-音频线索
        /// </summary>
        public string Type
        {
            get => type;
            set
            {
                type = value;
                SendPropertyChanged(nameof(Type));
            }
        }

        private string name;
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get => name;
            set
            {
                name = value;
                SendPropertyChanged(nameof(Name));
            }
        }

        public bool TypePic()
        {
            return "pic".Equals(Type);
        }
        public bool TypeVideo()
        {
            return "vid".Equals(Type);
        }
        public bool TypeAudio()
        {
            return "aud".Equals(Type);
        }
    }
}
